<template>
    <view class="container">
      <web-view :src="externalUrl"></web-view>
    </view>
</template>
   
<script>
    export default {
    data() {
      return {
        externalUrl: ''
      };
    },
    onLoad(option) {
        let url = decodeURIComponent(option.url).replace(/&amp;/g, '&')
        this.externalUrl = url;
    }
  };
</script>
   
  <style scoped>
    .container {
        width: 100%;
        height: 100vh;
    }
  </style>